package com.lcke.system.dao;


import com.lcke.common.login.User;
import com.lcke.system.model.SystemUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {


    /**
     * // Select("SELECT * FROM `base_schoolaccount` " +
     * //        "where username = #{username} and (password = #{password} or 1=1 );")
     *
     * @param param
     * @return
     */
    List<SystemUser> findByNameAndPassword(@Param("param") User param);

}
